    <link rel="stylesheet" href="/Public/location/Css/wap.rank.css" />
    <style type="text/css">
   /*更新在reset*/
header a{margin:0;}
.channelHeader{overflow:hidden; padding:0;  width:100%;}
.iconback{float:left;}
.iconhome{float:right;}
.iconback, .iconhome{background:none; margin-top:3px; font-size:12px; text-align:center; color:#fff; line-height:40px; width:40px; height:40px;}
.channelHeader2 .iconhome{margin-top:-44px;}
.iconback img, .iconhome img{width:40px; height:40px; font-size:12px; text-align:center; line-height:40px;}
.pageBox .iconback, .pageBox .iconhome{background:none;}
 </style>

               <div class="tabArea  list rankingList rankingList_3">
            <div class="slide-con slide-con2">
                <div class="slide-item list1">



                </div>
            </div>
        </div>


    <script src="/Public/location/Script/jquery.cookie.js" ></script>
    <script>
    $(function(){
            //readlogs = $.cookie('readlogs');
            books = $.cookie('readbook');
            books = books.replace(/(^:)|(:$)/g,"");
            books = books.split(':');
            //books = books.split(',');

            for(var i=0;i<100;i++){
                if(books[i] == undefined){
                    break;
                }
                //alert(books[i]);
                readlog = $.cookie('readlog_'+books[i]);
                //console.log(readlog);
                if(readlog == null || readlog == ''){
                    continue;
                }
                readlog = readlog.split(':');
                html='';
                html += '<div class="hot_sale hot_saleEm"><span class="num num'+(i+1)+'">'+(i+1)+'</span>';
                html += '<a href="wap/'+readlog[0]+'.html"><p class="title">'+readlog[1]+'</p><p class="author">作者：'+readlog[2]+'</p></a>';
                html += '<p class="author">连载 | 上次阅读时间：'+readlog[5]+'</p>';
                html += '<p class="author">上次阅读：<a href="/'+readlog[0]+'-'+readlog[3]+'.html" target="_blank">'+readlog[4]+'</a></p>';
                html += '<p class="author"><a onclick="clearCookies(\'readlog_'+books[i]+'\')" href="#"><font color="#ff0000">从记录中删除</font></a></p></div>';
                //alert(books[i]);
                $('div.slide-item.list1').append(html);
                //alert(html);
            }

            //console.log($.cookie());
    });

    function clearCookies(name = null){
        if(name != null){
            $.cookie(name,null,{path:'/'});
            $('.cookie-'+name).remove();
            swal({
               title:"删除成功!",
               text:"",
               type:"success"
            });
        }
    }
    </script>

